Gallery name: <b><?=$this->viewParams['gallery']['title'] ?></b>
<? if ($this->viewParams['gallery']['type'] == "gallery") :?>
<form action="/vi/archin/master/upload-gallery-photos?type=<?=$this->viewParams['gallery']['type'] ?>&gallery_id=<?=$this->viewParams['gallery']['id'] ?>" method="post" enctype="multipart/form-data">
<?else:?>
<form action="/vi/archin/master/upload-gallery-photos?type=<?=$this->viewParams['gallery']['type'] ?>&id=<?=$this->viewParams['content_id']?>&gallery_id=<?=$this->viewParams['gallery']['id'] ?>" method="post" enctype="multipart/form-data">
<?endif?>
  Select pics:<br />
  <input name="user_files[]" type="file" /><br />
  <input name="user_files[]" type="file" /><br />
  <input name="user_files[]" type="file" /><br />
  <input name="user_files[]" type="file" /><br />
  <input type="submit" value="Send files" />
</form>